WeglotWP\Services\Request_Url_Service_Weglot A

Total Complexity 65
Dependencies 5
Dependents 14
Total lines 341
Lines of code 174
Logical lines of code 99
Comment lines 115
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
get_current_canonical_url()
A
46 13 43
get_home_wordpress_directory()
A
52 9 22
is_rest()
A
58 9 13
url_to_relative()
S
57 8 14
get_current_language()
S
58 6 14
is_allowed_private()
S
62 6 10
create_url_object()
S
53 4 24
is_eligible_url()
S
59 4 14
get_weglot_url()
S
71 2 6
__construct()
S
76 1 4
init_weglot_url()
S
76 1 4
get_full_url()
S
79 1 3
clean_url_slashes()
S
79 1 3